//
// Created by Administrator on 2021/5/20.
//

#include "iostream"
#include "string"
using namespace std;

int main(){
    // C语言风格字符串
    /*
     * 注意事项： char字符串名[]
     * 等号后面要用双引号 包含起来字符
     */
    char  str[] = "hello world";
    cout << str << endl;

    //C++风格字符串

    string str1 = "hello world";
    cout << str1 << endl;
    system("pause");

    return 0;
}